<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>Core</title>
		<script src="../../py/system.js" type="text/javascript"></script>
		
		<script src="../../common/project/project.js" type="text/javascript"></script>
		<script src="../../common/assets/scripts/default.js" type="text/javascript"></script>
	</head>
	<body>
		<script>
			var fns = [
				["trace", function(){  
					trace("{0}  {1}  {2}   {3}   {4}", [], {a:2}, "dds", new Class({xType: "Book"}));
				 }],
				["trace.inspect(Array)", function(){   return trace.inspect([2,2,3,4]);   }],
				["trace.inspect(Object)", function(){   return trace.inspect({a:"2"});   }],
				["trace.inspect(Class)", function(){   return trace.inspect( new Class({xType: "Book"}));   }],
				["trace.inspect(Function)", function(){   return trace.inspect(function(){alert('吧')});   }],
				["trace.inspect(Boolean)", function(){   return trace.inspect(true);   }],
				["trace.inspect(Number)", function(){   return trace.inspect(.3);   }],
				["trace.inspect(null)", function(){   return trace.inspect(null);   }],
			 	["trace.inspect(undefined)", function(){   return trace.inspect(undefined);   }],
				["trace.dir", function(){ return trace.dir([]); }],
				["trace.log", function(){ return trace.log("s","ad"); }],
				["trace.error", function(){ return trace.error("d"); }],
				["trace.warn", function(){ return trace.warn("d"); }],
				["trace.info", function(){ return trace.info("d"); }],
				["trace.ifDebug", function(){ return trace.ifDebug(function(){
					trace.log('debugging');
				}); }],
				["trace.clear", function(){ return trace.clear(); }],
				["trace.empty", function(){ return trace.empty(); }],
				["trace.ifNot", function(){ return trace.ifNot(false, "d"); }],
				["trace.test", function(){ return trace.test(trace); }],
				["trace.runTime", function(){ return trace.runTime(trace); }],
				["assert", function(){   return assert(false,'{v} <- ?', 6);   }],
				["assert.isFunction", function(){   return assert.isFunction(3,'{v} <- ?');   }],
				["assert.isArray", function(){   return assert.isArray(5,'{v} ~');   }],
				["assert.isObject", function(){   return assert.isObject(5,'{v} ~');   }],
				["assert.isString", function(){   return assert.isString(5,'{v} ~');   }],
				["assert.notNull", function(){ return assert.notNull(null,"ssss"); }],
				["assert.between", function(){ return assert.between(1,-2,5,"sss"); }],
				["assert.instanceOf", function(){ return assert.instanceOf("a", String, "sss"); }],
				["assert.notEmpty", function(){ return assert.notEmpty([],"ssss"); }]
			];
		
		</script>
	</body>
</html>
